package com.hutao.manage.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.manage.datasource.TargetDataSource;
import com.hutao.manage.mapper.FirstLevelMedicalMapper;
import com.hutao.manage.pojo.FirstLevelMedical;
import com.hutao.manage.service.FirstLevelMedicalService;

@Transactional
@Service
public class FirstLevelMedicalServiceImpl implements FirstLevelMedicalService{
	@Autowired
	private FirstLevelMedicalMapper firstLevelMedicalMapper;

	@TargetDataSource(name="ds1")
	@Transactional(readOnly = true)
	@Override
	public List<FirstLevelMedical> getFirstLevelMedicalList() {
		List<FirstLevelMedical> list = firstLevelMedicalMapper.getFirstLevelMedicalList();
		return list;
	}
	
	
	
	
	
	

}
